<template>
    <uni-notice-bar  style="text-align: center;" text="离校申请无需审批" single color="#FF5F00" background-color="#FFEEDD" />
    <view class="zikuai">
        <view style="text-align: center">
            <image src="../../static/ok.png" style="width: 44px;height: 36px;margin-top: 18px">
            </image>
        </view>
        <view style="text-align: center">
            <text class="zi">
                申请后，导师、辅导员会收到离校申请通知。\n\n

                同时短信告知您的家庭联系人
            </text>
        </view>
    </view>
    <view style="text-align: center">
        <button class="bu1" @click="toindex()">
                <text class="zi1">申请离校</text>
        </button>
        <button class="bu2" @click="toindex()">
                <text class="zi2">再想想</text>
        </button>
    </view>
</template>

<script setup>
import UniNoticeBar from "../../uni_modules/uni-notice-bar/components/uni-notice-bar/uni-notice-bar.vue";
import {ref} from 'vue'
let toindex=function (){
    uni.switchTab({
        url:'/pages/index/index'
    })
}

</script>

<style scoped>
.zikuai{
    width: 95%;
    height: 138px;
    background: #FFFFFF;
    border-radius: 4px;
    margin-left: 12px;
}
.zi{
    width: 300px;
    height: 48px;
    font-family: PingFangSC-Regular;
    font-weight: 400;
    font-size: 15px;
    color: #797979;
    text-align: center;
    line-height: 16px;
}
.bu1{
    display: block;
    text-align: center;
    line-height: 40px;
    width: 95%;
    height: 40px;
    background-image: linear-gradient(90deg, #6CA9FF 0%, #166AFF 100%);
    border-radius: 4px;
    margin-left: 12px;
    margin-top: 20px;
}
.bu2{
    display: block;
    text-align: center;
    line-height: 40px;
    width: 95%;
    height: 40px;
    background: #FFFFFF;
    border: 1px solid #1277FF;
    border-radius: 4px;
    margin-left: 12px;
    margin-top: 20px;

}
.zi1{
    width: 60px;
    height: 21px;
    font-family: PingFangSC-Medium;
    font-weight: 500;
    font-size: 15px;
    color: #FFFFFF;
    line-height: 40px;
}
.zi2{
    width: 45px;
    height: 21px;
    font-family: PingFangSC-Medium;
    font-weight: 500;
    font-size: 15px;
    color: #006DFF;
    line-height: 35px;
}
</style>